package com.umxwe.kill.core.template.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Transient;

@Data
public class PageQueryParams {
    @Transient
    @ApiModelProperty("页码")
    private Integer pageNum;
    @Transient
    @ApiModelProperty("页面尺寸")
    private Integer pageSize;
    @Transient
    @ApiModelProperty(value = "排序", hidden = true)
    private String orderBy;
    @Transient
    @ApiModelProperty("是否查询总数")
    private boolean count = true;
    @ApiModelProperty(hidden = true)
    @Transient
    private Integer offset;
    @ApiModelProperty(hidden = true)
    @Transient
    private Integer limit;
}
